from django.test import TestCase
from django.test.client import Client

class ViewsTest(TestCase):
    
    def setUp(self):
        self.c = Client()
        
    def testExploreAdsByQuery(self):
        response = self.c.post('/ads/explore/')
        self.assertEquals(response.status_code, 200)
#        import logging
#        logging.fatal(response.content)    

